package dao.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * AgentBaseConfig entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "agent_base_config", catalog = "fw")
public class AgentBaseConfig extends BasePojo implements java.io.Serializable {

	// Fields

	private String agentName;
	private Integer agentBase;
	private String note;

	@Override
	public Object getEntityId() {
		// TODO Auto-generated method stub
		return agentName;
	}

	// Property accessors
	@Id
	@Column(name = "agent_name", unique = true, nullable = false, length = 32)
	public String getAgentName() {
		return this.agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	@Column(name = "agent_base")
	public Integer getAgentBase() {
		return this.agentBase;
	}

	public void setAgentBase(Integer agentBase) {
		this.agentBase = agentBase;
	}

	@Column(name = "note", length = 200)
	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}